//
//  SLAccessSettingView.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/29.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SLAccessSettingView : UIView
@property (weak, nonatomic) IBOutlet UIView *topView;
@property (weak, nonatomic) IBOutlet UILabel *topLbl1;
@property (weak, nonatomic) IBOutlet UILabel *topContentLbl1;
@property (weak, nonatomic) IBOutlet UIButton *editBtn;
@property (weak, nonatomic) IBOutlet UILabel *topLbl2;
@property (weak, nonatomic) IBOutlet UISwitch *changeBtn;
@property (weak, nonatomic) IBOutlet UILabel *topLbl3;
@property (weak, nonatomic) IBOutlet UILabel *topContentLbl3;
@property (weak, nonatomic) IBOutlet UILabel *topLbl4;
@property (weak, nonatomic) IBOutlet UILabel *topContentLbl4;
@property (weak, nonatomic) IBOutlet UILabel *midTitleLbl;
@property (weak, nonatomic) IBOutlet UIView *timeBgView;
@property (weak, nonatomic) IBOutlet UILabel *bottomTipLbl;
@property (weak, nonatomic) IBOutlet UIView *bottomBgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomViewHeight;
@property (weak, nonatomic) IBOutlet UIView *line0;
@property (weak, nonatomic) IBOutlet UIView *line4;
@property (weak, nonatomic) IBOutlet UIView *line3;
@property (weak, nonatomic) IBOutlet UIView *disableBgView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topViewHeight;

@property (weak, nonatomic) IBOutlet UIView *listView1;
@property (weak, nonatomic) IBOutlet UIView *listView2;
@property (weak, nonatomic) IBOutlet UIView *listView3;
@property (weak, nonatomic) IBOutlet UIView *listView4;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *disableBgHeight;

@property (weak, nonatomic) IBOutlet UILabel *listLbl1;
@property (weak, nonatomic) IBOutlet UILabel *listContentLbl1;
@property (weak, nonatomic) IBOutlet UILabel *listLbl2;

@property (weak, nonatomic) IBOutlet UILabel *listContentLbl2;
@property (weak, nonatomic) IBOutlet UILabel *listLbl3;
@property (weak, nonatomic) IBOutlet UILabel *listContentLbl3;

@property (weak, nonatomic) IBOutlet UILabel *listLbl4;
@property (weak, nonatomic) IBOutlet UILabel *listContentLbl4;
@property (weak, nonatomic) IBOutlet UISwitch *timeChangeBtn;

@property (weak, nonatomic) IBOutlet UIView *listView0;
@property (weak, nonatomic) IBOutlet UILabel *listLbl0;
@property (weak, nonatomic) IBOutlet UILabel *listContentLbl0;
@property (weak, nonatomic) IBOutlet UIView *listView5;
@property (weak, nonatomic) IBOutlet UILabel *listLbl5;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView4Height;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView2Height;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView3Height;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *timeBgViewHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView1Height;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listView5Height;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomLblHeight;
@property (nonatomic,copy) void (^btnBlock)(NSInteger btnIndex);
@property (weak, nonatomic) IBOutlet UIButton *addBtn;
-(void)refreshWith:(SLLockKeyModel *)model;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomBgTopSpace;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomLblTopSpce;
@property (nonatomic,copy) void (^cellCilckBlock)(SLLockKeyModel *model);

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listContent2Width;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *listContent3Width;
@property (weak, nonatomic) IBOutlet UILabel *startTimeLbl;
@property (weak, nonatomic) IBOutlet UILabel *endTimeLbl;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *startTimeWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *endTimeWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *startLeftSpace;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *endLeftSpace;
@property (weak, nonatomic) IBOutlet UIView *lineRepeat;

@property (nonatomic,copy) void (^switchBlock)(NSInteger isOpen);
@property (nonatomic,copy) void (^listBlock)(NSInteger btnIndex);
@end

NS_ASSUME_NONNULL_END
